package com.zui.util;

/**
 * For jqGrid jquery plugin paging grid.
 * 		prmNames : {
 *			page : "jq.requestPage", rows : "jq.pageSize", sort : "jq.sortColumn",
 *			order : "jq.sortDirection", search : "jq._search", nd : "jq.nd", npage : null
 *		}
 * 
 */
public class JqGridPage extends Page {
	//TODO: 这个已经不是page了，而是前台传来的所有查询条件；
	
	public JqGridPage() {
		super();
	}

	private static final long serialVersionUID = 1L;
	
	/**
	 * the search indicator for jqGrid
	 */
	private Boolean _search;
	/**
	 *  the time passed to the request (for IE browsers not to cache the request) - default value nd
	 */
	private String nd;
	
	private String searchField;
	private String searchOper;
	private String searchString;
	
	/*******************************
	 * getter and setter
	 ********************************/
	public Boolean get_search() {
		return _search;
	}
	public void set_search(Boolean search) {
		_search = search;
	}
	
	public String getNd() {
		return nd;
	}

	public void setNd(String nd) {
		this.nd = nd;
	}
	public String getSearchField() {
		return searchField;
	}
	public void setSearchField(String searchField) {
		this.searchField = searchField;
	}
	public String getSearchOper() {
		return searchOper;
	}
	public void setSearchOper(String searchOper) {
		this.searchOper = searchOper;
	}
	public String getSearchString() {
		return searchString;
	}
	public void setSearchString(String searchString) {
		this.searchString = searchString;
	}

}
